package com.xiaohei.EE_IBATIC_Demo.dao;

import java.util.List;

import com.xiaohei.EE_IBATIC_Demo.model.Department;
import com.xiaohei.EE_IBATIC_Demo.model.PageQuery;

public interface IDeptDao {
	public boolean addDept(Department d);
	public Integer updateDept(Department d);
	public List<Department> findAllDept();
	public List<Department> findValidDept(String deptId);
	public List<Department> findAllDeptByPage(PageQuery p);
	public Integer deleteDept(String id);
	public Integer getPageCount();
	public boolean checkIfDeptExist(String d_id);
}
